*******************************************************

 sgcWebSockets

*******************************************************

 [*] : Bug
 [+] : New
 [-] : Deleted
 [/] : Breaking changes

Versions
--------

4.2.3: 2019 March

 [+] : New Component "TsgcIoTAmazon_MQTT_Client", MQTT client to connect to Amazon AWS IoT Server Broker.
 [+] : New Method "Connect" TsgcWebSocketClient, try to connect to the server and wait till the connection is successful.
 [+] : New Method "Disconnect" TsgcWebSocketClient, try to disconnect from the server and wait till disconnection is successful.
 [+] : New method "Invite" Client Presence protocol, allows sending an invitation to another member to subscribe to a channel.
 [+] : If TsgcWebSocketClient.Options.CleanDisconnect = True, when set Active := False, client sends a message to the server to close connection.
 [+] : New Property in HTTP API Server, Asynchronous, if enabled, messages are sent asynchronously, by default is disabled so waits till a message is sent to client.
 [+] : New Event in HTTP API Server, OnAsynchronous, this event is called after an asynchronous completion call.

 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, if there was an error sending heartbeat to a client, the process not continue with the next client.
 [*] : Fixed Bug TsgcWebSocketServer_HTTPAPI, SSLHash was not set in NewBinding method.
 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, GetURL was not implemented.
 [*] : Fixed Bug TsgcWebsocketServer_HTTPAPI, if connections are free delayed, when a protocols was attached, connection was not added to queue.
 [*] : Fixed Memory Leak in TsgcWebSocketServer_HTTPAPI server component.
 [*] : Fixed Bug STOMP Protocol when NotifyEvents = neNosync, events where not called.


4.2.2: 2019 February

 [+] : Added support for SignalRCore, new client component TsgcWSAPI_SignalRCore, is an open-source library that simplifies adding real-time web functionality to apps.
 [+] : Updated Client demo for SignalRCore.
 [+] : Updated HTTPAPI Server demo.
 [+] : Improved Help manual, shows how install sgcWebSockets package step by step and most common errors.

 [*] : Fixed Bug TsgcWebSocketServer if Basic Authorization was enabled, connection thread never ends and increase cpu load.
 [*] : Fixed Bug TsgcWebSocketServer when custom headers are sent on handshake, in some cases may close connection.


4.2.1: 2019 January

 [+] : Subscribe/Unsubscribe methods from Protocol Components, now accepts multiple channels. Just send channels separated by commas, to subscribe/unsubscribe from multiple channels.

 [*] : Improved speed calling method WriteQueueData.
 [*] : Improved speed calling to save session id when using authentication.
 [*] : Improved speed saving MethodId in SGC Server Protocol.
 [*] : Improved speed writing data in SGC Server Protocol.
 [*] : Improved speed writing data in Files Server Protocol.
 [*] : Improved speed writing data in Dataset Server Protocol.
 [*] : Improved speed server detecting authentication type.
 [*] : Improved speed decoding websocket headers.
 [*] : Improved speed subscribe/unsubscribe to channels.
 [*] : Improved speed extension permessage-deflate.
 [*] : Fixed Bug TsgcWebSocketServer using plain TCP connections, OnBinary event was not called.
 [*] : Fixed Bug using plain TCP connections, OnConnect event was not called.
 [*] : Fixed Bug when notifyEvents = neAsynchronous, in some circumstances, index out of list processing asynchronous events.
 [*] : Fixed Bug LoadBalancer Client can't connect to LoadBalancer server if TLS is enabled.
 [*] : Fixed Bug SGC Protocol, when no channel is passed in publish method, exclude/include parameters may fail.
 [*] : Fixed Bug TsgcWebSocketServer when heartbeat is enabled, if new connection is created after last broadcasted ping and before heartbeat timeout, connection was closed by error.
 [*] : Fixed Bug MQTT Range Check Error.
 [*] : Fixed Bug Broker Component, if OnError event is fired with "connection has been gracefully closed", OnDisconnect event is not called and watchdog doesn't works properly.
 [*] : Fixed Bug Server Authentication, Authenticated variable was not initialized before OnAuthentication event.
 [*] : Fixed Bug TsgcWSConnection.Close method, doesn't works properly.
 [*] : Fixed Bug Validating UTF8 strings.
 [*] : Fixed Bug reading extension permessage-deflate.
 [*] : Fixed Bug websocket client, dead-lock accessing internal read thread.

 [/] : TsgcThreadList class moved to sgcWebSocket_Classes_SyncObjs
 [/] : TsgcCriticalSection class moved to sgcWebSocket_Classes_SyncObjs


4.2.0: 2018 December

 [+] : Added support for Rad Studio 10.3 Rio.
 [+] : New Protocol Presence (Server and Client), allows to know who is subscribed to a channel, example: chat rooms, collaborators on a document, people viewing the same web page, competitors in a game...
 [+] : New Client Component TsgcWSAPI_Bitmex, is a cryptocurrency exchange and derivative trading platform.
 [+] : New Server Event, OnUnknownProtocol, if protocol is not detected, here you can set which protocol use (example: allows to set plain TCP protocol).
 [+] : New Presence Demo which shows how Presence protocol works.
 [+] : New AppRTCEmbed demo, uses CEF4Delphi library to embed Chromium-based browsers in a client application to use AppRTC online demo without any webbrowser installed. More infor about CEF4Delphi: https://github.com/salvadordf/CEF4Delphi



4.1.11: 2018 November

 [+] : MQTT Protocol now support publishing binary data.
 [+] : New demo called "Mobile" replace "iOS" demo and shows how connect to a secure WebSocket server in Android 7.0+.
 [+] : New Property in HTTP API Server, Timeouts, allows to override default timeouts of HTTP API Server.
 [+] : New Property in HTTP API Server, ThreadPoolSize, by default 32 (maximum allowed is 64), allows to set number of threads of HTTP API Server.
 [+] : New Property in HTTP API Server, MaxBandwidth, maximum allowed bandwidth rate in bytes per second (zero means unlimited, value by default).
 [+] : New Property in HTTP API Server, MaxConnections, maximum number of connections (zero means unlimited, value by default).

 [*] : Fixed Bug AppRTC Protocol, when close call and try to rejoin shows an error.
 [*] : Fixed Memory Leak in MQTT Protocol component when destroying object.
 [*] : Fixed Bug MQTT Protocol, Packet Identifier was not read properly and if QoS = "At least once" or "Exactly once" messages could be sent duplicated.
 [*] : Fixed Bug MQTT client, after reconnect queued messages where not published.
 [*] : Fixed Memory Leak in STOMP Protocol component when destroying object.
 [*] : Fixed Error compiling in Lazarus for Linux with unit sgcWebSocket_Resources, unit name was incorrect.
 [*] : Fixed Bug HTTP API Server, when adding new binding with a parameter, this was not read properly in some cases.
 [*] : Fixed Bug HTTP API Server, size of payload message was not calculated properly.
 [*] : Fixed Bug HTTP API Server, only one thread was created to handle client connections.
 [*] : Fixed Bug HTTP API Server, disconnect event was not called in some cases.
 [*] : Fixed Memory Leak in HTTP API Server, internal heartbeat timers were not destroyed.
 [*] : Fixed some minor Bugs HTTP API Server.
 [*] : Fixed Bug in QueueLevel properties, if there is a disconnection before all queues are processed a memory leak can occur.
 [*] : Fixed Bug using Queues, in some cases stream was not saved properly.
 [*] : Fixed Bug LoadBalancer calculating server client connections count.
 [*] : Fixed Bug error "invalid pointer", notifying subscription/unsubscription when notifyEvents = neAsynchronous.



4.1.10: 2018 October

 [+] : New Client Component TsgcWSAPI_Cex,  is a cryptocurrency exchange and former Bitcoin cloud mining provider.
 [+] : New WebSocket Server Protocol: AppRTC, is a WebRTC server using AppRTC Demo code.
 [+] : New Demo for AppRTC protocol.

 [*] : Fixed Bug when calling disconnect, some methods where called more than once.
 [*] : Fixed Bug TThread calling terminate before Execute method has been called.
 [*] : Fixed Bug OnException event, sometimes Exception parameter was corrupted.
 [*] : Fixed Bug WebRTC protocol, remote video was not working.
 [*] : Fixed some stability issues in websocket client component in high load connections.
 [*] : Fixed Bug File Protocol when call WriteData method. 
 [*] : Fixed Bug File Protocol when Files.BufferSize = 0 and Files.QoS.Level = qosLevel1 or qosLevel2, when a file was sent never end.
 [*] : Fixed Bug List Index Out of Bounds in some cases when trying to access to Channels Subscribed.

 [/] : Properties RecBytes and SendBytes of TsgcWSConnection now are Int64.
 [/] : WebRTC protocol, now remote video is assigned in sgcaddstream event.



4.1.9: 2018 September

 [+] : New Server TsgcWSHTTPWebBrokerBridgeServer, which allows combine HTTP, DataSnap and WebSocket requests using the same server and port.
 [+] : New Client Component TsgcWSAPI_Huobi, is an international multi-language cryptocurrency exchange
 [+] : New Demo WebBrokerBridge, shows a simple datasnap and websocket server.
 [+] : New Demo AndroidService, shows how a websocket client can run as Android service and show a notification every time receives a message.
 [+] : Added Pusher Tab in Client Demo.
 [+] : New Method WriteAndWaitData in TsgcWSConnection, sends a message and waits response from other peer.
 [+] : OnException event now provides original exception if exists.
 [+] : Added support for authentication methods TsgcWebSocketServer_HTTPAPI Server.
 [+] : New Event OnHTTPRequest in TsgcWebSocketServer_HTTPAPI server component, now server can handle websocket and HTTP connections.
 [+] : New Property Port in TsgcWebSocketServer_HTTPAPI server component, allows to set default listening port.
 

 [*] : Fixed Bug OnWatchdog event, when client starts in a thread method, reconnection now uses thread method too.
 [*] : Fixed Bug SGC Protocol error "list index out of bounds" calling publish method in some scenarios.
 [*] : Fixed Bug in client demo, STOMP was not well linked to MQTT when server was changed.
 [*] : Fixed Bug HTTP API Server, binary messages were not received properly.
 [*] : Fixed Bug HTTP API Server, authentication methods (URL and Basic) didn't work
 [*] : Fixed Bug Client when disconnecting from a thread.
 [*] : Fixed Bug STOMP protocol, content-length header was incorrect if message contains special characters.
 [*] : Fixed Bug WatchDog was not working when Authentication Basic was used behind a Broker Protocol.
 [*] : Fixed Bug Client WebSocket Component, TsgcWSConnection.Free could be called more than once.
 [*] : Fixed Line Break Bug in Compiled HTML Help file.
 [*] : Fixed Bug Broadcasting streams when permessage-deflate compression is enabled.

 [/] : Property RegisteredURLs in TsgcWebSocketServer_HTTPAPI now is Bindings.


4.1.8: 2018 June

 [+] : New Client Component TsgcWSAPI_Binance, is an international multi-language cryptocurrency exchange
 [+] : New Client Component TsgcWSAPI_SocketIO, replaces TsgcWebSocketClient_SocketIO (will be deprecated on future versions).
 [+] : New Client Component TsgcWSAPI_Bitstamp, Bitstamp is one of the world's longest standing crypto exchange, supporting the blockchain ecosystem since 2011.
 [+] : If there is an error connecting to a WebSocket server, now HTTP error code is showed in OnError event.

 [*] : Fixed Bug CBuilder 10.2.3 in static link library for Indy "inline __fastcall TIdEncoderMIME(System::Classes::TComponent* AOwner)..."
 [*] : Fixed Bug Pusher Protocol error "invalid path error" when connect to server.



4.1.7: 2018 May

 [+] : New Client Component TsgcWSAPI_SignalR, is a library for ASP.NET developers that makes developing real-time web functionality using websockets as transport.
 [+] : New Client Component TsgcWSAPI_Bittrex, is a US-based cryptocurrency exchange.
 [+] : New Property "CloseReason" in TsgcWSConnection, is reason why connection has been closed by other peer.
 [+] : Poloniex Demo improved, added api2.poloniex.com server.

 [*] : Fixed Bug when disconnect has a Close Reason, error code wasn't readed properly.
 [*] : Fixed Bugs compiling Delphi7 with latest Indy version.
 [*] : Fixed Bug in sgcWebSocket_HTTPAPI, ULONGLONG was redeclared.
 [*] : Fixed Bug in design package dclsgcWebSocketsD*.* only win32 personality is needed.
 [*] : Fixed Bug Dataset Protocol if UpdateMode = upWhereChanged, only key fields were updated.
 [*] : Fixed Bug Deleting TsgcPing elements from server/client components.
 [*] : Fixed Bug compiling for Delphi2006 with latest Indy version.
 [*] : Fixed WebRTC warnings.



4.1.6: 2018 March

 [+] : New Component TsgcWSPClient_STOMP, generic STOMP Protocol client, allows to connect to any STOMP Server
 [+] : New Component TsgcWSPClient_STOMP_RabbitMQ, STOMP client for RabbitMQ Broker.
 [+] : New Component TsgcWSPClient_STOMP_ActiveMQ, STOMP client for ActiveMQ Broker.
 [+] : New Demo "Client" which shows how connect to: WebSocket Server, MQTT Server and STOMP Server.
 [+] : SGC Protocol Server, Publish method now is overloaded, new method now accepts QueueLevel (store last message or store all messages).
 [+] : SGC Protocol Server, Subscribe/UnSubscribe methods now supports wildcard characters, so you can subscribe to a hierarchy of channels. Example: if you want subscribe to all channels which start with 'news', then call Subscribe('news*').
 [+] : SGC Protocol Server, Publish method now supports wildcard characters, so you can publish to a hierarchy of channels. Example: if you want send a message to all subscribers to channels which start with 'news', then call Publish('news*').

 [*] : Fixed Bug Broker component processing messages when more than one protocol is attached.
 [*] : Fixed Bug BCBuilder compiling error in sgcWebSocket_WinAPI.
 [*] : Fixed Bug MQTT Client reading remaining length.
 [*] : Fixed Bug MQTT Client Heartbeat doesn't start after a disconnection.
 [*] : Fixed Bug Client when disconnecting from a thread.
 [*] : Fixed Bug TsgcPing in client component was not destroyed properly.
 [*] : Fixed Bug SGC Protocol method UnSubscribeAll was not destroying all subscriptions.
 [*] : Fixed Bug SGC Protocol if a message was published with queueLevel1, message was not retained in server.

 [/] : Property rename in TsgcWebSocketServer, Connections[Guid] now is ConnectionsByGuid[Guid]



4.1.5: 2018 February

 [+] : New Component TsgcWSAPI_Bitfinex, Bitfinex is one of the world's largest and most advanced cryptocurrency trading platform. Users can exchange Bitcoin, Ethereum, Ripple, EOS, Bitcoin Cash, Iota, NEO, Litecoin, Ethereum Classic...
 [+] : New Component TsgcWSAPI_Blockchain, Blockchain WebSocket API allows developers to receive Real-Time notifications about new transactions and blocks.
 [+] : New Component TsgcWSAPI_Pusher, Pusher is an easy and realiable platform with flexible pub/sub messaging, live user lists, authentication...
 [+] : New property "URL" in client components, read url and automatically set host, port, tls, parameters...
 [+] : New property "Parameters" in TsgcIWWebSocketClient, allows to set a parameter in url.

 [*] : Fixed Bug in Internet Explorer 8 using Flash as Fallback, error: "this.transport.indexOf" not supported.
 [*] : Fixed Bug WriteData as Text when RFC6455 Specification is False.
 [*] : Fixed Bug in ProtocolRegistered function when more than one protocol is supported by a single protocol.
 [*] : Fixed Bug "Constant expression violates subrange bounds" in sgcWebSocket_HTTPAPI_Server unit compiling for 64bits.
 [*] : Fixed Bug in sgcWebSockets.dll, error event was not raised if there was any error before a succesful connection.
 [*] : Fixed Bug ClientTest demo trying to connect to echo.websocket.org TLS
 [*] : Fixed Bug using sgcWebSocketLib.pas with Delphi 7.
 [*] : Fixed Bug RegisterProtocol with Broker component.
 [*] : Fixed Bug in TsgcWebSocketClient when WatchDog enabled and notifyEvents = neNoSync.


4.1.4: 2018 January

 [+] : Overloaded method to register subprotocols at runtime by name. Events are raised on Server/Client context in this case.
 [+] : Added New Methods in sgcWebSockets library to send binary messages using TBytes as parameter.
 [+] : Added support for Socket.IO API 2.*
 [+] : Updated Socket.IO to latest online demo.
 [+] : Added RegisteredURLs to TsgcWebSocketServer_HTTPAPI, allows to register which URLs will be handled by sgcWebSockets.

 [*] : Fixed Warnings compiling sgcWebSockets library with latest compiler.
 [*] : Fixed Bug compiling CBuilder with method SetPort.
 [*] : Fixed several bugs for TsgcWebSocketServer_HTTPAPI.



4.1.3: 2017 December

 [+] : New Component TsgcWebSocketServer_HTTPAPI (still Beta, not for production): Server based on Microsofot HTTP API 2.0 for windows and IOCP.
 [+] : Added New Property "UseNagle" for client and server websocket components (by default is enabled).
 [+] : Added 2 new units: sgcWebSocket_Protocol_Example_Server.pas and sgcWebSocket_Protocol_Example_Client.pas, to show how create custom subprotocols.
 [+] : Added 2 new methods: RegisterProtocol and UnRegisterProtocol, these methods allow attach protocols in run-time.

 [*] : Fixed Bug Uncaught ReferenceError: sgcWebSocket is not defined loading javascript file.
 [*] : Fixed Bug Dataset Protocol, decimals were truncated to 4, now there is no truncation.



4.1.2: 2017 October

 [+] : New Method WAMP 2.0 Protocol, InvocationError: when the callee is unable to process or finish the execution of the call.

 [*] : Fixed Bug WAMP 2.0 Protocol, yield method was not implemented.
 [*] : Fixed Bug WebRTC Demo, connection was not closed properly.
 [*] : Fixed Bug Protocol Base Message, in some cases could raise a Thread Lock.
 [*] : Fixed Bug Protocol Files, client didn't sent acknowledgment of file received.
 [*] : Fixed Bug Protocol Files, broadcast file using qosLevel1 was not working.



4.1.1: 2017 July

 [+] : New Protocol Component TsgcWSPClient_WAMP2, implements WAMP 2.0 protocol.
 [+] : Added support for Server Proxy Sub-Protocols.

 [*] : When connection is IPv6, built-in sgcWebSockets.html was not showed properly.
 [*] : Fixed Bug in TsgcWebSocketServerHTTP on Linux64, files inside DocumentRoot where not found.
 [*] : Fixed Bug in Delphi7, error compiling MQTT Client.
 [*] : Fixed Bug MQTT client, heartbeat only work if client enables it.
 [*] : Fixed Bug MQTT client, ClientIdentifier was ignored if CleanSession was true.
 [*] : Small fixes to allow Delphi7 compile latest Indy version.
 [*] : Fixed Bug MQTT client, dirty messages when subscribing with mtqsAtLeastOnce.
 [*] : Fixed Library Free version.
 [*] : Fixed Bug Dataset Protocol, LargeInteger was not properly decoded when Base64 was enabled.
 [*] : Fixed Bug if handshake message was fragmented, connection was closed.



4.1.0: 2017 April

 [+] : Added support for Rad Studio 10.2 Tokyo.
 [+] : Added support for Linux compiler.
 [+] : MQTT client, added subscribe method.
 [+] : MQTT client, added unsubscribe method.
 [+] : MQTT client, added publish method.
 [+] : MQTT client, added Authentication property, allows to set user and password to authenticate against MQTT Server.
 [+] : MQTT client, added HeartBeat property, keeps alive connection.
 [+] : MQTT client, added LastWillTestament property, when client disconnects, sends a message to other connected clients.
 [+] : New Property "NotifyDeletes" in Dataset Server Protocol, if enabled (by default) broadcast deleted record to all clients.
 [+] : New Method "BroadcastRecord" in Dataset Server Protocol, sends dataset record values to all clients.
 [+] : New Method "MetaData" in Dataset Server Protocol, sends metadata info to a single client.
 [+] : New Method "Synchronize" in Dataset Server Protocol, sends dataset record values to a single client.

 [*] : Fixed Bug ReadTimeout and ConnectionTimeout in client component.
 [*] : Added Guid property to Client File Protocol.
 [*] : Fixed Bug Invalid Character when trying to access to built-in javascript libraries.
 [*] : Fixed Bug File Protocol when BufferSize was set to zero, file was not saved properly.
 [*] : Fixed Memory Leaks on NextGen compiler.
 [*] : Fixed WebRTC Chrome console errors.



4.0.2: 2017 March

 [+] : New Component TsgcWSPClient_MQTT, implements MQTT protocol, it's still beta and next versions will support more methods.
 [+] : MQTT client, added connect method.
 [+] : MQTT client, added connack method.
 [+] : MQTT client, added pingreq method.
 [+] : MQTT client, added pingresp method.
 [+] : MQTT client, added disconnect method.

 [*] : Fixed Bug Javascript SGC Protocol, when calling rpc method with non numeric parameters.
 [*] : Fixed Access Violation on client components when hard socket disconnect.
 [*] : Fixed Bug Dataset Protocol, synchronization didn't search if record exists.
 [*] : Fixed Bug when client disconnects, sometimes OnDisconnect event was not raised.
 [*] : Fixed Bug Dataset Protocol, parsing error in float fields.


4.0.1: 2017 February

 [+] : WinHTTP client, added proxy support.
 [+] : WinHTTP client, added asynchronous request support.
 [+] : WinHTTP client, implemented query close status.
 
 [*] : Fixed Bug using OnBinary event in C#, added a new event to handle binary data using array of bytes.
 [*] : Fixed messages when compiling: unit '%s' implicitly imported into package '%s'
 [*] : Fixed Memory Leaks websocket server.
 [*] : Fixed Memory Leak TsgcWSClient.
 [*] : Fixed Bug, disconnect event was not raised in iOS / Android.
 [*] : Fixed Bug in WriteData method from protocol components.
 [*] : Fixed Bug, added QueueOptions to published properties of client.
 [*] : Fixed Bug, Access violation when Server.Active := False and SSL enabled.
 [*] : Fixed Bug, Access violation when Client.Active := False and SSL enabled.
 [*] : Fixed Bug, when RaiseDisconnectExceptions is not enabled, some exceptions were not catched.



4.0: 2017 January

 [+] : New Component TsgcWebSocketClient_WinHTTP based on WinHTTP API (requires Windows 8.1+)
 [+] : New Property "IpVersion" on Indy Client components: allows to set IPv4/IPv6 version.
 [+] : New Compiler Directive "SGC_WRITECONST": if enabled, allows to modify some of the constants like: authentication url, built-in libraries names, protocols...
 [+] : Added Delphi 2006 Package.

 [*] : Fixed Bug compiling iOS projects, access violations where raised and application hangs, when NotifyEvents where set to neAsynchronous.
 [*] : Fixed Bug WAMP Protocol parsing message type.
 [*] : Improved WAMP Protocol reading/writing messages.
 [*] : Fixed Bug WEBRTC Protocol calling "createOffer" method.
 [*] : Fixed BUG Socket.IO Client, using API 1.*, heartbeat was not handled.
 [*] : Fixed BUG CBuilder Multiple declaration for 'TsgcWSServer_Base::Connections'.
 [*] : Fixed BUG Socket.io client when TLS is enabled.
 [*] : Fixed Bug Client Component when WatchDog enabled and attempts > 0.
 [*] : Fixed Bug connection list was locked under certain circumstances.
 [*] : Fixed Bug HeartBeat was not working properly when Timeout > Interval.
 [*] : Fixed Bug ListIndex out of bounds on server protocol.
 [*] : Fixed Bug when server disconnects all connections.
 [*] : Fixed Bug Demo Tickets, dataset updates where not broadcasted.
 [*] : Fixed Bug Error decoding message, using Broker and GUID in protocols.
 [*] : Improved Reliability and Stability of Server.

 [/] : sgcJSON as Interface is only supported from Delphi 2010 to latest.
 [/] : Options.QueueText moved to QueueOptions.Text
 [/] : Options.QueueBinary moved to QueueOptions.Binary



3.5: 2016 May

 [+] : Added support for Rad Studio 10.1 Berlin.
 [+] : New Component LoadBalancerServer: allows to distribute client requests along several servers connected to a Load Balancer Server.
 [+] : New Event OnSSLGetHandler on Server / Client components: allows to create a custom SSL Handler based on IOHandlerSSLBase.
 [+] : New Event OnSSLAfterCreateHandler on Server / Client components: allows to customize default OpenSSL Handler.
 [+] : New Property "QueueText" on Server / Client components: if enabled (by default), text messages are added to a queue and are sent inside thread context.
 [+] : New Property "QueueBinary" on Server / Client components: if enabled, binary messages are added to a queue and are sent inside thread context.
 [+] : New Method "Start" on Server / Client components: starts in a secondary thread.
 [+] : New Method "Stop" on Server / Client components: stops in a secondary thread.
 [+] : New Method "Close": when called try to cleanly close a client connection from server side.
 [+] : New Method "CloseAll": closes cleanly all client connections.
 [+] : New Property "EncodeBase64" on Server / Client Dataset Protocol: if enabled, text fields are encoded/decoded automatically.
 [+] : New Property "IO_Namespace" on socket.io client component: if specified, sets namespace when connects to a Socket.IO server (+1.*)
 [+] : New Property "SOCKS" inside "Proxy" property: allows to use SOCKS proxies.
 [+] : Server Property "Connections" now accepts Guid as parameter.
 [+] : Added support for ftBlob fields in Dataset Protocol.

 [*] : Fixed Bug WAMP Protocol parsing custom JSON messages using Broadcast/writedata.
 [*] : Fixed Bug ListIndexError on Protocol Components.
 [*] : Fixed Bug Compiling Packages for RadStudio C++ XE8 and 10
 [*] : Fixed Bug Broker Components reading/writing messages
 [*] : Fixed Bug DeadLock in Server when a client losses connection.
 [*] : Fixed Bug ServerSentEvents sending Unicode Characters.
 [*] : Fixed Bug Disconnect event was not raised sometimes on client side.
 [*] : Fixed Bug JSON Parser.
 [*] : Fixed Bug SGC Protocol using notify method in javascript clients.
 [*] : Fixed Bug WebRTC Protocol.
 [*] : Fixed Bug WebRTC Protocol returns undefined onsgcmediaerror event.
 [*] : Fixed Bug FreePascal 3 opening handshake.
 [*] : Fixed Bug WebRTC Protocol using firefox.
 [*] : Fixed Bug Clearing Client Buffer OnException event.
 [*] : Fixed Bug IWClient, TLS forced 443 port.


3.4: 2015 September

 [+] : New Property "AutoEscapeText" on DataSet Protocol: disabled by default. Automatically escape/unescape characters inside field values like "{", "["...
 [+] : WriteData Method has a new parameter "size" which is the maximum size of every text packet. 
 [+] : New Property "ReadStartSSL" on HTTP Server component, max number of times an HTTPS connection tries to start.
 [+] : New Property "DisconnectAll" on Server components, disconnects all active connections.

 [*] : Fixed Bug Dataset Protocol sending/receiving messages.
 [*] : Fixed Bug re-sending messages using qosLevel2 through a broker.
 [*] : Fixed Bug when call to disconnect using ssl client connection.
 [*] : Fixed Bug when a client try to connect without handshake headers.
 [*] : Fixed Bug Files Protocol reading Message File.
 [*] : Fixed Bug Dataset Protocol sending updates from client.
 [*] : Fixed Bug Dataset Protocol raising dataset events.
 [*] : Fixed Bug Files Protocol QoSLevel2 for fragments not received.
 [*] : Fixed Bug Reading fragmented text message.
 [*] : Fixed Bug Reading SSE message from D2009+.
 [*] : Fixed Bug Reading/Writing using Protocols.
 [*] : Fixed Bug Client Component not clearing FWSConnection field when a connection was closed by server.
 [*] : Fixed Bug Client Component destroying Critical Section.
 [*] : Fixed Bug SGC Protocol OnDisconnect Event, an access violation was raised trying to send a message inside this event.


3.3: 2015 May

 [+] : Added support for Rad Studio XE8.
 [+] : New Property "RaiseDisconnectExceptions": enabled by default, raises an exception every time there is a disconnection by protocol error.
 [+] : New Property "IO_HandShakeCustomURL"on Socket.io client, overrides url to get socket.io session.
 [+] : New Event, "OnBeforeSubscription" on Server Component Protocols, allows/denies a client subscribe to a channel.
 [+] : New Property "FragmentedMessages", allows to handle Fragmented Messages:
           frgOnlyBuffer: message is buffered until all data is received, it raises OnBinary or OnMessage event (option by default)
           frgOnlyFragmented: every time a new fragment is received, it raises OnFragmented Event.
           frgAll: every time a new fragment is received, it raises OnFragmented Event with All data received from first packet. 
                   When all data is received, it raises OnBinary or OnMessage event.
 [+] : WriteData Method has a new parameter "size" which is the maximum size of every binary packet. 
 [+] : Added Support on Broker Protocol Components for binary messages.
 [+] : New Methods for SGC Client Protocol to retrieve Method and Parameters sent on RPC calls: GetRPCMethodById and GetRPCParamsById.
 [+] : Ping Method has been overloaded to accept a TimeOut, first sends a pings and waits a response, if no response after a timeout, returns false.
 [+] : New Property "Subscriptions" on Server and Client Protocol Components, returns a list of active subscriptions.
 [+] : New Event, "OnStartup" on WebSocket Servers, raised when a server is started.
 [+] : New Event, "OnShutdown" on WebSocket Servers, raised when a server is stopped.
 [+] : Method "Disconnect" of TsgcWSConnection now it's overloaded to accept close code as a parameter.
 [+] : New Method, SetAuthenticationCloseCode on TsgcWSConnectionServer, allows to set close code if not authenticated.
 [+] : Added support for broker on SGC Protocol using sgcWebSockets library.
 [+] : New Method "UnSubscribeAll" for Client SGC Protocol.

 [*] : Fixed Access Violation when Client tries to reconnect to Server.
 [*] : Fixed DeadLock when Client disconnects and buffer is not empty.
 [*] : Fixed Scape Error when JSON value is an object or array.
 [*] : Fixed Bug trying to disconnect a connection several times.
 [*] : Fixed Bug building CBuilder XE6-XE7 Package on Win64.
 [*] : Fixed Bug SGC Protocol OnMessage Event.
 [*] : Fixed Bug SGC Protocol WriteData Method.
 [*] : Fixed Bug SGC Protocol Broadcast Method.
 [*] : Fixed Bug Server Broadcast method using include / exclude arguments.
 [*] : Fixed Bug SGC Protocol using QoSLevel2.
 [*] : Fixed Bug SGC Protocol OnRPCResult Event, when result parameter was an array of objects.
 [*] : Fixed Bug SGC Dataset Client when attached to a broker.
 [*] : Fixed Bugs JSON parser.
 [*] : Fixed Bug HeartBeat Timeout.
 [*] : Fixed Bug Socket.IO Client on SendEvent method.
 [*] : Fixed Bug when using TsgcWSConnection.Data property OnDestroy Event.
 [*] : Fixed Bug DataSet Protocol when a DateTime Field IsNull.

 [/] : WriteData method now "Stream" parameter is a TStream.


3.2: 2014 September

 [+] : Added support for Rad Studio XE7.
 [+] : Added support for AppMethod.
 [+] : Added support for Server-Sent Events API (SSE), push notifications from server to client using http connection.
 [+] : Added suport for SSE on Javascript libraries: automatic fallback to SSE+XHR if WebSocket is not implemented.
 [+] : New Component TsgcWebSocketProxyServer: server that translates WebSocket protocol to normal socket, allowing a browser to connect to any application/server. 
 [+] : New Property "WatchDog"
           Server: keeps server active automatically (disabled by default).
           Client: reconnects automatically after an unexpected disconnection (disabled by default).
 [+] : New Property "LocalIP" on TsgcWSConnection, returns IP Address of Host.
 [+] : New Property "LocalPort" on TsgcWSConnection, returns Port Address of Host.
 [+] : New Property "HeartBeat" on Server Components: sends a ping every x seconds (disabled by default).
 [+] : New Property "IO_API" on TsgcWebSocketClient_SocketIO:
           ioAPI0: supports socket.io 0.* servers (selected by default)
           ioAPI1: supports socket.io 1.* servers 

 [*] : Fixed Bug writing data on TsgcWebSocketClient_SocketIO if connection is not Active.
 [*] : Fixed Bug on search paths runtime packages from Delphi XE3-XE6.
 [*] : Fixed DeadLock writing data on Server and Client components.
 [*] : Fixed Bug reading JSON objects passed as parameters in SGC and Dataset Protocols.
 [*] : Fixed Memory Leak OnException Event.
 [*] : Fixed Bug Broadcast method using Exclude parameter.
 [*] : Fixed Bug sending double quoted string inside a JSON parameter.
 [*] : Fixed DeadLock when Keep-Alive is active on TsgcWebSocketHTTPServer.
 [*] : Fixed Bug retrieving MIME-Type from file, when TsgcWebSocketHTTPServer tries to serve a file from DocumentRoot.
 [*] : Fixed DeadLock on TsgcTimer class when compiled as a library.
 [*] : Fixed Warnings.

 [/] : Deleted property TsgcWSConnectionServer.ServerHost
 [/] : Deleted property TsgcWSConnectionServer.ServerPort



3.1: 2014 May

 [+] : Added support for Rad Studio XE6.
 [+] : Added support for C++Builder (2010-XE6).
 [+] : Added support for old browsers (using Adobe Flash FallBack) without WebSocket implementation like Internet Explorer 6 to 9. 
 [+] : New WebSocket Extension: PerMessage-Deflate. Deflate-frame Extension has been deprecated and replaced by PerMessage-Deflate. 
 [+] : New Property "ReadTimeOut" on Server components, timeout to check if socket has received data.
 [+] : New Property "ReadEmptySource" on HTTP Server component, max number of times an HTTP connection is read with no data.
 [+] : New Property "Transport" on TsgcWSConnection, returns which transport is used (RFC6455, Hixie76, Flash or Undefinided).
 [+] : New Property "SessionList" on TsgcWebSocketHTTPServer.
 [+] : New Property "ParseParams" on TsgcWebSocketHTTPServer.

 [*] : Fixed Bug on DCP paths design packages from Delphi XE2-XE5.
 [*] : Fixed Bug reading if TCPConnection is connected.
 [*] : Fixed Bug detecting connection state on javascript library.
 [*] : Fixed Bug detecting type of message on javascript library.
 [*] : Fixed Bug setting client log filename.
 [*] : Fixed Bug sending a compressed close connection frame.



3.0: 2014 March

 [+] : New Library "sgcWebSockets.dll" which allows to handle WebSocket (Server and Client) connections from Delphi or C# .Net (Demos inside Library Folder)
	WebSocket Server
	WebSocket Client
	WebSocket SocketIO Client
	WebSocket Server Protocol SGC
	WebSocket Client Protocol SGC         
 [+] : New Property "IO_HandShakeTimestamp" on Socket.io client, if enabled allows to connect to gevent-socket.io servers

 [*] : Fixed Bug calculating SendBytes with Binary Messages.
 [*] : Fixed Bug TsgcWSConnection.WriteData when NotifyEvents = neNoSync.
 [*] : Fixed Bug assigning ssl properties after set active.
 [*] : Fixed Memory Leak in built-in libraries on some webbrowsers.
 [*] : Fixed Bug OnException Event on NEXTGEN compilers.
 [*] : Fixed Bug socket.io client on SendEvent procedure.
 [*] : Fixed Bug processing http cache requests.

 [/] : If you compile sgcWebSockets inside a DLL or a console application, there is no need to call CheckSynchronize manually.



2.6: 2013 November

 [+] : Added support for Rad Studio XE5
 [+] : Added support for Android
 [+] : Added Basic Authentication support for VCL Websockets and HTTP Requests.
 [+] : New for Protocols "sgc" and "Dataset": Added "Queue" param to the following methods: RPC, Publish and Notify:
         Level 0: messages are not queued on Server
         Level 1: last message is queued on Server, and is sent every time a client subscribes to a new channel or connects to server.
         Level 2: all messages are queued on Server, and is sent every time a client subscribes to a new channel or connects to server.
 [+] : New "QoS" Level (Quality of Service):
         Level 2: messages are assured to arrive exactly once. If the acknowledgement message is not received after a specified period of time, the message is sent again.
 [+] : New Property "Throttle": if enabled, limits the amount of bandwith usage.
 [+] : New Demo: Server Authentication
 [+] : Improved Documentation: new topics about features and general questions.

 [*] : Fixed Bug with TsgcWebSocketServer on Windows XP.
 [*] : Fixed Bug Connecting using a sub-protocol and using Authentication.
 [*] : Fixed Bug in TsgcWebSocketServer causing clients to hang on unauthorized connection.
 [*] : Fixed Bug in TsgcWebSocketHTPServer, http sessions were not created.



2.5: 2013 September

 [+] : Improved Socket.IO client with new methods and events.
 [+] : New Property "RawMessages" on Socket.IO client: if true, socket.io messages are not processed (it works as before 2.5 udpate); if false, it handles socket.io messages (false by default).
 [+] : New for Protocols "sgc" and "Dataset": Added Support for transactional messages through server local transactions. 
       When a client Starts a Transaction on a channel, all messages sent to this channel are queued until client do a commit.
 [+] : New for Protocols "sgc" and "Dataset": Added "QoS" (Quality of Service) property with 2 values:
         Level 0: messages are delivered according to the best efforts of the underlying TCP/IP network (active by default).
         Level 1: messages are assured to arrive but duplicates may occur. If the acknowledgement message is not received after a specified period of time, the message is sent again.
 [+] : New for Protocols "sgc" and "Dataset": Added event "OnSession", it raises when server sends client session id. 
       By default is sent by server after a client connection.
 [+] : New for Protocols "sgc" and "Dataset": Added Method GetSession. Allows to get server session id of connection.
 [+] : New for Client Protocols "sgc" and "Dataset": Added event "OnAcknowledgment", an acknowledgment is sent by server to client when receives a message from client.
 [+] : New for Server Protocol "Dataset": Added property "UpdateMode" [upWhereAll]: updates all fields of a record, [upWhereChanged]: updates only fields that have changed.
 [+] : New for Client Protocol "Dataset": Added Event "OnMetaData" to get field structure of server dataset.
 [+] : New for All Protocols: Added Event OnRawMessage , allows to handle protocol messages.
 [+] : New Property "ConnectTimeout" on Client Components.
 [+] : New Property "ReadTimeout" on Client Components.
 [+] : New Property "Queue", when "true" queues string/binary messages and when "false" process all messages.
 [+] : New Method "QueueClear", clear all queued messages.
 [+] : New Events on TsgcWSPServer_Dataset:
         + OnBeforeNewRecord
         + OnBeforeUpdateRecord
         + OnBeforeDeleteRecord
         + OnBeforeDatasetUpdate
         + OnAfterNewRecord
         + OnAfterUpdateRecord
         + OnAfterDeleteRecord
         + OnRPCAuthentication
         + OnNotification
         + OnRPC

         + OnRPCAuthentication
 [+] : New Events on TsgcWSPClient_Dataset:
         + OnBeforeNewRecord
         + OnBeforeUpdateRecord
         + OnBeforeDeleteRecord
         + OnBeforeDatasetUpdate
         + OnBeforeSynchronize
         + OnAfterSynchronize
         + OnRPCResult

         + OnRPCError
         + OnEvent
 [+] : Property HandShake now is public on TsgcWSConnectionServer class.
 [+] : Property Connection now is public on Client Component.
 [+] : Added Interfaces directory with source code interfaces.


 [*] : Fixed Bug sending Options.Parameters on SocketIO client.
 [*] : Fixed Bug Handling Error Event.
 [*] : Fixed Bug WAMP Server Protocol using publish method (messages were broadcasted to all clients, subscribed or not).
 [*] : Fixed Bug Broker Server Component (events were forwarded to protocol components).
 [*] : Fixed Bug WriteData Method if TCPConnection has been destroyed.
 [*] : Fixed Bug UnSupported Protocol raised an access violation
 [*] : Fixed Bug WAMP Server Protocol, now CallId is unique by client connection.
 [*] : Fixed Bug getting IP from TsgcWSConnection.
 [*] : Fixed Bug calling Synchronize Method first time on Protocol Dataset Client.
 [*] : Fixed Bug Reading JSON Boolean values.
 [*] : Fixed Bug Serving DocumentRoot files.
 [*] : Fixed Memory Leak on Server Component.

 [/] : OnConnectionData event has been removed. Now Connection.Data is read/write.
 [/] : OnAfterNewRecord event Added Connection as Parameter.
 [/] : OnAfterUpdateRecord event Added Connection as Parameter.
 [/] : OnAfterDeleteRecord event Added Connection as Parameter.



2.4: 2013 June

 [+] : Added support for Rad Studio XE4
 [+] : Added support for NEXTGEN IOS Compiler
 [+] : New Method "Disconnect": allows to disconnect a client connection from server side.
 [+] : New Property "LogFile" (Server and Client components): save messages to a log file, useful for debugging.
 [+] : Improved "Protocol DataSet": now synchronizes in Two ways (from server to client and from client to Server).
 [+] : New Property "AutoSynchronize" (Protocol Dataset Server): synchronizes automatically all records OnConnect event.
 [+] : New Method "Synchronize" (Protocol Dataset Client): synchronizes automatically all records from Server.
 [+] : New Property "NotifyUpdates" (Protocol Dataset): allows to notify updates from server to client or client to server.
 [+] : New Property "ApplyUpdates" (Protocol Dataset): allows to apply updates from server to client or client to server.
 [+] : New Property "AllowNonAuth": allows to connect to non-authenticated users if authentication enabled.
 [+] : New Protocol Components: "Broker" allows to use more than one protocol using a single connection.

 [*] : Fixed Bug loading resources when is a library
 [*] : Fixed Bug OnException Event
 [*] : Fixed Bug when a client has more than one protocol assigned
 [*] : Fixed Bug handling multithreading messages
 [*] : Fixed Bug Firefox Close Code

 [-] : Removed all WITH statements

 [/] : Removed sgcWebSocket_CS.pas, now it's defined on sgcWebSockets_Classes.pas


2.3: 2013 March

 [+] : Added Support to Lazarus / FreePascal.
 [+] : Added Support to Delphi 7 (upgrading to Indy 10)
 [+] : Improved performance and reliability on websocket connections.
 [+] : New Property "DocumentRoot": if defined, automatically publish http response files.
 [+] : New Event "DataSession": allows to assign a user session object (database connection, user session data...)
 [+] : New Property "Authentication": allows to authenticate WebSocket Connections using a user/password.
 [+] : New Property "ThreadPool" on server components
 [+] : New Property "AsyncEvents": allows to define which method used to notify websocket events: none, asynchronous (is the default) and synchronous.
 [+] : New Property "HeartBeat": sends a ping every x seconds (disabled by default). 
 [+] : New Property "ValidateUTF8": validates utf8 messages (disabled by default).
 [+] : New Property "JavascriptFiles" on server components: allows requests to server built-in javascript libraries.
 [+] : New Property "HTMLFiles" on server components: allows requests to server built-in html files.

 [*] : Fixed Bug OnHandShake event not fired
 [*] : Fixed exception when socket closes connection
 [*] : Fixed Bug when receiving fragmented message with control code
 [*] : Fixed Bug when optcode is not recognized 
 [*] : Fixed Bug with RSV bits when no extension is negotiated
 [*] : Fixed Bug when payload is empty
 [*] : Fixed exception reading Guid
 [*] : Fixed Bug with binary Ping Frames
 [*] : Fixed Bug with Ping payload greater than 125 octets

 [/] : Javascript libraries: binary messages are now received using "stream" event (before, this messages were received on "message" event).
 [/] : Protocols are now based on JSON-RPC 2.0 (except WAMP protocol which uses his own protocol).


2.2: 2013 January

 [+] : New WebSocket Protocol: WAMP
         Open Source SubProtocol
         Provides two asynchronous  messaging patterns:
           - RPC
           - Subscription / Publish
 [+] : New WebSocket Protocol: WebRTC
         Open Project that enables web browsers with Real-Time Communications (RTC)
         Currently Only Chrome it's supported
         WebRTC is still on Beta Status
 [+] : Added support for read/write JSON lists
 [+] : Server Components: Added Arguments Exclude and Include List of guids
 [+] : Javascript source is minified to save bandwith.
 [+] : Added methods to send stream on sub-protocol base component.

 [*] : Fixed Bug on Test Pages using ssl connection
 [*] : Fixed Bug on Read UnMasked Frame
 [*] : Fixed Bug on Client Component when Error #10054 raised.
 



2.1: 2012 November 

 [+] : New WebSocket Extension: Deflate-frame, allows to compress exchanged data.
 [+] : Server Components: New Event "OnBinary" fired when a clients sends a binary message.
 [+] : Server Components: Overloaded BroadCast and WriteData to allow to send streams.
 [+] : Server Components: New Property "SSL", allows to stablish SSL connections with clients.
 [+] : TsgcWebSocketClient: New Event "OnBinary" fired when client receives a binary message. 
 [+] : TsgcWebSocketClient: Overloaded WriteData to allow to send streams.
 [+] : TsgcWebSocketClient: New Event "OnException" fired when a Exception is raised outside WebSocket Connection.
 [+] : Server Components: New Property "Bindings".
 [+] : Server Components: New Property "OriginsAllowed", on new connection, checks if origin is allowed (by default accepts all origins).
 [+] : TsgcWebSocketClient: New Property "Options", allows to define which Parameters / Origin are sent on opening HandShake.
 [+] : TsgcWSConnection: New Property "Port" (connection peer port).
 [+] : TsgcWSConnection: New Property "RecBytes" (connection bytes received).
 [+] : TsgcWSConnection: New Property "SendBytes", (connection bytes sent).

 [*] : Fixed Bug re-connectiong from a SSL Client connection.
 [*] : Fixed some memory leaks.
 [*] : Fixed bug on Protocol Hixie76.
 [*] : FIxed bug UTF-8 messages.
 
 [/] : TsgcWebSocketClient: Property "Parameters" now is a Property of "Options"




2.0: 2012 October 

 [+] : RAD Studio XE3 Supported.
 [+] : Added Support to Firemonkey (Win32, Win64 and MacOSX).
 [+] : Added support to create custom sub-protocols.
 [+] : TsgcWebSocketHTTPServer: New Component! WebSocket Server that includes HTTP Server to share WebSocket and HTTP connections over the same port.
 [+] : TsgcWebSocketClient_SocketIO: New Component! WebSocket Client that allows to connect to Socket.IO Servers.
 [+] : TsgcWSPServer_sgc: New Component! server that uses JSON to broadcast messages to all clients.
 [+] : TsgcWSPClient_sgc: New Component! client that uses JSON messages to communicate with server.
 [+] : TsgcWSPServer_dataset: New Component! broadcast dataset changes to all clients connected.
 [+] : TsgcWSPClient_dataset: New Component! automatically updates client dataset from server changes.
 [+] : TsgcWebSocketServer: Added javascript browser client support. 
 [+] : TsgcWebSocketServer: Added built-in html pages to test browser websocket connection.
 [+] : TsgcWebSocketServer: New Property "MaxConnections". 
 [+] : TsgcWebSocketClient: New Property "Proxy", now supports WebSocket Protocol over HTTP Proxy Connections.
 [+] : TsgcWebSocketClient: New Method "Ping".
 [+] : TsgcWebSocketClient: New Property "MaxConnections".
 [+] : TsgcWebSocketClient: New Property "Parameters", allows to pass parameters on Handshake.

 [*] : Fixed RangeCheck Error 
 [*] : Fixed Unicode Warnings
 [*] : Fixed Active Property Error
 [*] : TsgcWebSocketClient: OnConnect Event only fired if HandShake is correct
   
 [/] : TsgcWebScocketServer: Deleted property Protocols
 [/] : TsgcWebSocketClient: Deleted property Protocol
 [/] : Subscription / UnSubscription methods now are implemented on protocol components.



1.2: 2012 June
 
 [+] : TsgcWebSocketServer: Now Supports draft Hixie76, Safari and iOS browsers now are supported from version 4.2
 [+] : TsgcIWWebSocketClient: New Property "Mode": [Native, Emulation] Allows to emulate socket connections
         on webbrowsers that don't support websockets natively (like internet explorer).
 [+] : TsgcWebSocketServer: New Property "Specifications": [RFC6455, Hixie76] defines which specifications are supported.
 [+] : TsgcWebSocketClient: New Property "Specifications": [RFC6455, Hixie76] defines which specifications are supported.
 [+] : TsgcWebSocketServer: Method "Broadcast" now accepts "Subscription" allowing to send custom messages only to subscribed clients
 [+] : TsgcWebSocketServer: New Event "OnSubscription" fired when a client Subscribes to a channel 
 [+] : TsgcWebSocketServer: New Event "OnUnSubscription" fired when a client UnSubscribes to a channel
 [+] : TsgcWebSocketClient: New Methods: "Subscribe" and "Unsubscribe" allowing to subscribe to custom channels
 [+] : TsgcIWWebSocketClient: New Methods: "Subscribe" and "Unsubscribe" allowing to subscribe to custom channels

 [*] : TsgcWebSocketServer: Fixed bug reading get parameters
 [*] : TsgcWebSocketServer: Fixed bug OnMessage Event

1.1: 2012 May

 [+] : TsgcWebSocketServer: allows to Send a Message to a single Client
 [+] : TsgcWebSocketServer: New Property "Connections" to get access to all client connections
 [+] : TsgcWebSocketServer: New Event "OnHandshake" allows to modify handshake before send to client
 [+] : TsgcWebSocketClient: New Event "OnHandshake" allows to modify handshake before send to server
 [+] : TsgcWebSocketClient: New Property "TLS" allows to stablish secure connections
 [+] : TsgcIWWebSocketClient: New Property "TLS" allows to stablish secure connections
 [+] : TsgcWebSocketServer: Event "OnDisconnect" now has "Code" to get close reason if applicable

 [*] : TsgcWebSocketclient: Fixed error assigning properties at runtime
 [*] : TsgcWebSocketServer: Fixed broadcast error on Chrome (v.19) 
 [*] : TsgcIWWebSocketClient: Fixed close connection error on Chrome (v.19) 
 [*] : TsgcWebSocketClient: error reading handshake status
 [*] : TsgcWebSocketClient: in some environments, OnDisconnect event was not fired
 [*] : TsgcIWWebSocketClient: Fixed close connection error
 
 [/] : TsgcWebSocketServer: Event "OnDisconnect" introduced parameter "Code"
 [/] : TsgcWebSocketClient: Event "OnDisconnect" introduced parameter "Code"

1.0: 2012 April

 [+] : First Version

	

	


	

